import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

const store = new Vuex.Store({
    state:{
        permission_list:[]
    },
    mutations: {
        addlist(state,list){
            state.permission_list = list
        },
        dellist(state){
            state.permission_list = []
        }
    }
})


export default store;